package cn.big.bigd.ybp.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import cn.big.bigd.ybp.model.YbpRole;
import cn.big.bigd.ybp.model.YbpUser;

/**
 * 
 * @author wangfan
 *
 */
@Repository
public interface YbpRoleDAO extends JpaRepository<YbpRole, Integer> {
        YbpUser findByRole(String role);
}
